package com.sdkj.dspservice.modules.report.entity.tem;

import lombok.Data;

import java.util.List;

/**
 * 数据表结构实体
 */
@Data
public class TableInfo {

    /**
     * 表名
     */
    private String tableName;
    /**
     * 主键
     */
    private List<String> primaryKeys;
    /**
     * 字段列表
     */
    private List<QueryColumn> columns;

    public TableInfo(String tableName, List<String> primaryKeys, List<QueryColumn> columns) {
        this.tableName = tableName;
        this.primaryKeys = primaryKeys;
        this.columns = columns;
    }

    public TableInfo() {
    }
}
